<?php
  session_start();
 include_once ("Login/databaseconnection.php");
 $current_table="deleted_training_details";
$Teacher_NIC=$_GET['Teacher_NIC'];
$Deleted_date=$_GET['Deleted_Date'];
$Training_Id=$_GET['Training_Id'];
   	$resultdel=mysql_query("DELETE FROM deleted_training_details WHERE Teacher_NIC='$Teacher_NIC' AND Deleted_Date='$Deleted_Date' AND Training_Id='$Training_Id'");
if($resultdel)
{
	 $_SESSION['error']="Successfully removed!";
}
if(!$resultdel)
{
	 $_SESSION['error']="Sorry,an error occured  please try again!";
}
	
 ?>